user_json = dl.projects.remove_member(project_id='project_id', email='user@dataloop.ai') # # Remove a member from the project. # # **Prerequisites**: You must be in the role of an *owner* to delete a member from a project. # # :param str email: member email # :param str project_id: The Id of the project # :return: dict that represents the user # :rtype: dict # #
[- {
- "id": "string",
- "email": "string",
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "avatar": "string",
- "domain": "string",
- "lastLogin": 0,
- "createdAt": 0,
- "role": "owner",
- "type": "string",
- "groups": [
- {
- "id": "string",
- "name": "string"
}
], - "guest": {
- "org": "string",
- "name": "string",
- "id": "string"
}, - "membershipType": "dataset",
- "denyMembersManagement": true,
- "membershipEntityId": "string"
}
]